package com.ohs.ohsoa.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ohs.ohsoa.system.dto.LeaveSettingDto;
import com.ohs.ohsoa.system.entity.LeaveSetting;
import com.ohs.ohsoa.utils.bean.requestBean.PageParam;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 部门service
 *
 * @author ss
 *
 */
@Service
public interface LeavesettingService extends IService<LeaveSetting> {


    /**
     * 获取列表信息
     **/
    List<LeaveSetting> overtimesettingSelectList(PageParam<LeaveSetting> pageParam);

    /**新增请假
     *
     * @param leaveSetting  请假信息
     * @return 新增结果
     */
    Boolean leaveSettingInsert(LeaveSetting leaveSetting);

    /**修改请假
     *
     * @param leaveSetting 请假信息
     * @return 修改结果
     */
    Boolean leaveSettingUpdate(LeaveSetting leaveSetting);

    /**删除请假
     *
     *
     * @param leaveSettingDto@return
     */
    Boolean leaveSettingDelete(LeaveSettingDto leaveSettingDto);


}
